package com.woniu.service;

import com.woniu.entity.Orders;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OrdersService {
    public void insertOrders(Orders orders);
    public List<Orders> selectOrdersByUid(Integer uid);
    public void deleteOrders(Integer uid);
    public List<Orders> selectOrders();
    public void updateOrdersStatus(Integer order_id,Integer status);
    public Orders selectOrdersByOrderID(Integer order_id);
    public void updateOrdersTotal(Integer order_id,double price);
    public void deleteOrdersByorderId(Integer order_id);
    public List<Orders> selectOrdersBStatus(int status);
    public List<Orders> selectOrdersUidStatus(int uid , int status );
}
